package triBasic;

public class NodeInfo {

	private int nodeId;
	
	private String tagName;
	
	public NodeInfo(int nodeId, String tagName) {
		this.nodeId = nodeId;
		this.tagName = tagName;
	}
	
	public int getNodeId() {
		return this.nodeId;
	}
	
	public String getTagName() {
		return this.tagName;
	}
	
	public boolean equals(NodeInfo info) {
		return this.nodeId == info.nodeId && this.tagName == info.tagName;
	}
	
}
